const columns = [
  {
    prop: 'month',
    label: '月份',
    width: '250px',
    tooltip: true
  },
  {
    prop: 'allComQuantity',
    width: '180px',
    label: '总商品数'
  },
  {
    prop: 'onlineComQuantity',
    width: '180px',
    label: '线上商品数'
  },
  {
    prop: 'offlineComQuantity',
    width: '180px',
    label: '线下商品数'
  },
  {
    prop: 'undoneRegionQuantity',
    width: '180px',
    slot: true,
    label: '未完成大区数据'
  },
  {
    prop: 'status',
    width: '180px',
    markStyle: true,
    toPercent: true,
    label: '状态'
  },
  {
    prop: 'operate',
    width: '280px',
    slot: true,
    fixed: 'right',
    align: 'center',
    label: '操作'
  }
];
const detailColumns = [
  {
    prop: 'region',
    label: '大区名称',
    tooltip: true,
    minWidth: '200px'
  },
  {
    prop: 'lastMonEliminating',
    label: '上月汰换池商品总数',
    minWidth: '200px'
  },
  {
    prop: 'lastMonEliminated',
    label: '上月同意汰换数',
    minWidth: '200px'
  },
  {
    prop: 'curMonEliminating',
    label: '本月汰换池商品总数',
    minWidth: '200px'
  },
  {
    prop: 'curMonEliminated',
    label: '本月同意汰换数',
    minWidth: '200px'
  },
  {
    prop: 'eliminatingMon',
    markStyle: true,
    toPercent: true,
    label: '汰换池商品环比',
    minWidth: '200px'
  },
  {
    prop: 'twiceEliminating',
    label: '二次进入汰换池商品数',
    minWidth: '200px'
  }
];
const errorColumns = [
  {
    prop: 'rowIndex',
    label: '原文件行数'
  },
  {
    prop: 'commodityId',
    label: '商品id'
  },
  {
    prop: 'commodityName',
    label: '商品名称',
    tooltip: true
  },
  {
    prop: 'cityName',
    label: '城市'
  },
  {
    prop: 'errorTip',
    label: '错误提示'
  }
];
export default { columns, detailColumns, errorColumns };
